﻿using dz.u9.jky.schema.Attrib;
using dz.u9.jky.schema.Common;
using System;

namespace dz.u9.jky.schema.ARBill
{
    /// <summary>
    /// 应收单行项目
    /// </summary>
    public class DzARBillLineDTO
    {
        /// <summary>
        /// 单价是否含税
        /// </summary>
        public bool IsIncludeTax { get; set; } = true;

        /// <summary>
        /// 来源单据的出货单号
        /// </summary>
        public string SrcBillShipmentNum { get; set; }

        /// <summary>
        /// 料号
        /// </summary>
        public string CustItem { get; set; }

        /// <summary>
        /// 料品名
        /// </summary>
        [DzSimpleObject("UFIDA.U9.CBO.SCM.Item.ItemInfo,UFIDA.U9.CBO.PubBE", "ItemCode")]
        public string Item { get; set; }

        /// <summary>
        /// 出货数量
        /// </summary>
        public decimal PUAmount { get; set; }

        /// <summary>
        /// 含税单价（结算单价）
        /// </summary>
        public decimal UnitPrice { get; set; }

        /// <summary>
        /// 税组合
        /// </summary>
        [DzSimpleObject("UFIDA.U9.CBO.Pub.Controller.CommonArchiveDataDTO,UFIDA.U9.CBO.PubSV")]
        public string TaxSchedule { get; set; }

        /// <summary>
        /// 来源单据日期（出货日期）
        /// </summary>
        public DateTime SrcAccrueDate { get; set; }

    }
}